package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 部门岗位关系表
 * </p>
 *
 * @author 
 * @since 2024-01-10
 */
@TableName("sys_dept_positions")
public class SysDeptPositions implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 岗位id
     */
    @TableField("positions_id")
    private Long positionsId;

    /**
     * 岗位名称
     */
    @TableField("positions_name")
    private String positionsName;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 部门
     */
    @TableField("dept_name")
    private String deptName;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getPositionsId() {
        return positionsId;
    }

    public void setPositionsId(Long positionsId) {
        this.positionsId = positionsId;
    }

    public String getPositionsName() {
        return positionsName;
    }

    public void setPositionsName(String positionsName) {
        this.positionsName = positionsName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    @Override
    public String toString() {
        return "SysDeptPositions{" +
        "id=" + id +
        ", positionsId=" + positionsId +
        ", positionsName=" + positionsName +
        ", deptId=" + deptId +
        ", deptName=" + deptName +
        ", deliverId=" + deliverId +
        "}";
    }
}
